<template>
	<view class="disalog">
		<view class="disalog-box">
			<qrcode></qrcode>
		</view>
	</view>
</template>

<script>
	import qrcode from '../qrcode/qrcode.vue'
	export default {
		components:{
			qrcode
		},
		props:{
			type:{
				type:String,
				default:''
			}
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.disalog{
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(0,0,0,0.8);
		.disalog-box{
			animation-name: disalogshow;
			animation-duration: 1s;
			position: absolute;
			border-radius: 10rpx;
			min-width:80%;
			max-width: calc(100% - 40rpx);
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			background-color: white;
		}
		@keyframes disalogshow {
			0% {
				opacity: 0;
			}
		
			100% {
				opacity: 1;
			}
		}
	}
</style>
